package com.cloud.weixin.project.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cloud.common.core.model.supers.Convert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 微信模板
 * </p>
 *
 * @author Sam
 * @since 2021-04-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("mp_wx_template")
@ApiModel(value = "WxTemplate对象", description = "微信模板")
public class WxTemplate extends Convert {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "模板ID")
    private String templateId;

    @ApiModelProperty(value = "模板名")
    private String title;

    @ApiModelProperty(value = "一级行业")
    private String primaryIndustry;

    @ApiModelProperty(value = "二级行业")
    private String deputyIndustry;

    @ApiModelProperty(value = "模板内容")
    private String content;

    @ApiModelProperty(value = "模板示例")
    private String example;


}
